<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>

<h1>单文件上传</h1>
<form action="upload" method="post" enctype="multipart/form-data"
      style="width: 200px; margin: 50px auto; background-color: #eee">
    <input name="file" type="file"><br>
    <button>上传</button>
</form>

<h1>多文件上传</h1>
<form action="uploads" method="post" enctype="multipart/form-data"
      style="width: 200px; margin: 50px auto; background-color: #eee">
    <input name="file" type="file" multiple><br>
    <button>上传</button>
</form>
</body>
</html>